<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="/css/admin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	.longtxt{width:300px;}
</style>
<script src="/js/jquery-1.5.1.min.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	$(function () {
		
	});
	function VerifyPage(){
		if($("#pwd").val() == ''){
			alert('密码不能为空!');
			return false;
		}
		if($("#newpwd").val() == ''){
			alert('密码不能为空!');
			return false;
		}
		if($("#newpwd").val() != $("#newpwd2").val()){
			alert('二次输入的密码不匹配!');
			return false;
		}
		return true;
	}
</script>
</head>
<body>
<form name="form1" action="/cms/dochangepwd" method="post" onSubmit="return VerifyPage();">
<div class="listTitle">修改密码</div>
<div>
<table cellpadding="5">
<tr><td>当前用户</td><td><input type="text"  id="uid" name="uid" value="<?=$uid?>" readonly style="background-color:#dddddd;" /></td></tr>
<tr><td>旧密码</td><td><input type="password" id="pwd" name="pwd" value="" /></td></tr>
<tr><td>新密码</td><td><input type="password" id="newpwd" name="newpwd" value="" /></td></tr>
<tr><td>重复新密码</td><td><input type="password"  id="newpwd2" name="newpwd2" value="" /></td></tr>
<tr><td></td><td><input type="submit" value=" 保存 " /></td></tr>
<tr><td></td><td><font color="#ff0000"><?=$tip?></font></td></tr>
</table>
</div>
</form>
</body>
</html>